<script setup lang="ts">
import { useLocale } from '@/locale/locale';
import { isWechat } from '@/utils/platform';

const { t } = useLocale();

function back() {
  uni.navigateBack();
}
</script>

<template>
  <uni-nav-bar
    v-if="isWechat()"
    left-icon="left"
    :title="t('LHTKey_roomAmenities')"
    fixed
    status-bar
    :border="false"
    @click-left="back"
  />
  <apt-room-amenities />
</template>
